const mongoose = require('mongoose')
mongoose.connect('mongodb+srv://3031911824:uFntYQ9OqpEVY4tT@cluster0.rrzlr.mongodb.net/pharm').then(() => {
  console.log('ok')
}).catch((err) => {
  console.log('Could not connect to MongoDB', err)
})

module.exports = mongoose